require_relative '../lib/roman.rb'
require 'test/unit'
require 'test/unit/autorunner'

class TestRomanInit < Test::Unit::TestCase
def test_init
  assert_raises RuntimeError { Roman.new(-1) }
  assert_raises RuntimeError { Roman.new(0) }
  assert_raises RuntimeError { Roman.new(5000) }
end
end